﻿@model RBS.Core.Model.Sys_Links
@{
    ViewBag.Title = "友情链接";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}

<!--导航栏-->
<div class="location">
    <a href="javascript:history.back(-1);" class="back"><i></i><span>返回列表页</span></a>
    <a href="@Url.Action("Main", "Home")" class="home"><i></i><span>首页</span></a>
    <i class="arrow"></i>
    <span>@ViewBag.Title</span>
</div>
<!--/导航栏-->
 

<!--内容-->
<div class="content-tab-wrap">
    <div id="floatHead" class="content-tab">
        <div class="content-tab-ul-wrap">
            <ul>
                <li><a href="javascript:;" onclick="tabs(this);" class="selected">编辑 @ViewBag.Title</a></li>
            </ul>
        </div>
    </div>
</div>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true) 
    @Html.HiddenFor(model => model.Id)
    <div class="tab-content">
        <dl>
            <dt>友情链接名称</dt>
            <dd>

                @Html.TextBoxFor(model => model.LinkName, null, new { @class = "input normal" ,datatype = "s2-12"})
                <span class="Validform_checktip">*友情链接名称</span>

            </dd>
        </dl>
        <dl>
            <dt>友情链接地址</dt>
            <dd>

                @Html.TextBoxFor(model => model.LinkUrl, null, new { @class = "input normal" })
                <span class="Validform_checktip">*友情链接地址</span>

            </dd>
        </dl>
        <dl>
            <dt>是否显示</dt>
            <dd>
                <div class="rule-multi-radio">  
                    <label for="IsDisplay">否</label>
                    @Html.RadioButtonFor(model => model.IsDisplay, 0, new { @id = "radio1", @name = "rdolstState" })
                    <label for="IsDisplay">是</label>
                    @Html.RadioButtonFor(model => model.IsDisplay, 1, new { @id = "radio2", @name = "rdolstState" })

                </div>
            </dd>
        </dl>
        <dl>
            <dt>排序</dt>
            <dd>
                @Html.TextBoxFor(model => model.Sequence, null, new { @class = "input small", datatype = "n" })
                <span class="Validform_checktip">*排序越打越往前</span>

            </dd>
        </dl>
    </div>
    <!--/内容-->

    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />

        </div>
        <div class="clear"></div>
    </div>
    <!--/工具栏-->
        
}










